﻿using System;

using System.Linq;
using System.Text.Json.Serialization;
using Xc.DataAccess.DataBases.Core.Models;

namespace Xc.DataAccess.DataBase.DeviceInfos.Models
{
    /// <summary>
    /// 属性值历史信息
    /// </summary>
    public class DevicePropertyInfoHistory : LongDbTable, IPropertyInfo, ITableInfo, IDateTimeCreate, IDeviceInfoId
    {
        /// <summary>
        /// 创建时间
        /// </summary>
        public DateTime DateTimeCreate { get; set; }
        /// <summary>
        /// 设备信息主键
        /// </summary>
        public string DeviceInfoId { get; set; }
        [JsonIgnore] 
        public DeviceInfo DeviceInfo { get; set; }
        public string Name { get; set; }
        public string Value { get; set; }
    }
}
